import flask

serve = flask.Flask('app')#等于from flask import Flask \n serve = Flask('app')
@serve.route('/')
def index():
    return '<h1>hello flask!</h1>'
serve.run()

